package com.chuanyang.driverh.amap;

import java.io.Serializable;

/**
 * 用户的位置对象实体
 * @author joyskim
 *
 */
public class LocationEntity implements Serializable{
	private static final long serialVersionUID = 1L;
	
	private double longitude;
	private double latitude;
	private String province;;
	private String city;
	private String district;
	private String address;
	private String building;

	private String region_name;
	private int region_code;

	public String getRegion_name() {
		return region_name;
	}

	public void setRegion_name(String region_name) {
		this.region_name = region_name;
	}

	public int getRegion_code() {
		return region_code;
	}

	public void setRegion_code(int region_code) {
		this.region_code = region_code;
	}

	public LocationEntity() {
		// TODO Auto-generated constructor stub
	}
	
	
	public double getLongitude() {
		return longitude;
	}
	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}
	public double getLatitude() {
		return latitude;
	}
	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getDistrict() {
		return district;
	}
	public void setDistrict(String district) {
		this.district = district;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getBuilding() {
		return building;
	}
	public void setBuilding(String building) {
		this.building = building;
	}
	@Override
	public String toString() {
		return "LocationEntity [longitude=" + longitude + ", latitude="
				+ latitude + ", province=" + province + ", city=" + city
				+ ", district=" + district + ", address=" + address
				+ ", building=" + building + "]";
	}
	
	
	
	
}
